package com.bcc.security.common.constant;

import lombok.*;

/**
 * @Description:请求响应编码
 * @Author:Kevin
 * @Date:2018/7/28 20:09
 */
@Getter
@AllArgsConstructor
public enum ReturnCode {
    SUCCESS("200", "success"),
    FAILURE("1000", "failure"),

    // 业务相关错误码（500-10000）
    UNKNOWN("500", "系统繁忙,请稍后再试"),

    // 业务参数
    PARAM_ERROR("1001", "非法参数");

    private String code;
    private String message;

}
